
#ifndef		__PROJECTILE_H
#define		__PROJECTILE_H

#include	"Object.h"
#include	"FPS.h"

class Projectile : public Object {

	private:
		SDL_Surface* projectilesSurface;
		SDL_Rect	 collisionRect;
		int			 fireDirection;

	public:
		Projectile();

		enum projectiles {
			PULSE
		} projectileType;

		bool madeDamage;

		bool init(projectiles p, SDL_Surface* projSurface);
		void loop();
		void render(SDL_Surface*);
		void cleanup();

		SDL_Rect getColRect();

		void invertFireDirection();
};

#endif

